package cn.kgc.mushroomdatabaseprovider.service.serviceimpl;

import cn.kgc.mushroomcommon.pojo.Common;
import cn.kgc.mushroomdatabaseprovider.mapper.CommonMapper;
import cn.kgc.mushroomdatabaseprovider.service.CommonService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestParam;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(readOnly = true)
public class CommonServiceImpl implements CommonService {
    @Resource
    CommonMapper commonMapper;
    @Override
    public List<Common> selectCommon(Integer id) {
        return commonMapper.selectCommon(id);
    }
}
